<template>
	<view class="container">
		<person-list @click="doClick"></person-list>
	</view>
</template>

<script>
	import PersonList from '@/pages/common/person-list.vue';
	
	export default {
		components: { PersonList },
		data() {
			return {
				user:{},
			}
		},
		created() {
			
		},
		methods: {
			doClick(row){
				uni.navigateTo({
					url: './index?id='+row.id+'&name='+row.name+'&idNumber='+row.idNumber+'&yearFrom='+(row.yearFrom?row.yearFrom:'')+'&yearTo='+(row.yearTo?row.yearTo:'')
				})
			},
		}
	}
</script>

<style>
	.container {
		width: 750upx;
		height: 100vh;
		position: relative;		
	}
	
</style>
